package priv.utrix.micro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 权限信息表(Authority)表实体类
 *
 * @author utrix
 * @since 2020-09-28 16:46:15
 */
@Data
@Accessors(chain = true)
@TableName("authority")
public class Authority implements Serializable {
    private static final long serialVersionUID = -63631536499480077L;

    private Long id;
    /**
     * 权限编号
     */
    private String code;
    /**
     * 权限描述
     */
    private String depict;
    /**
     * 接口地址
     */
    private String url;
    /**
     * 角色id，以英文逗号隔开
     */
    @TableField(exist = false)
    private String roleId;

}